package com.matrix.draft.juc.util;

/**
 * JUC工具类
 */
public class JucUtil {
    /**
     * 毫秒抱锁睡眠
     * @param time
     */
    public static void sleep(long time){
        try {
            Thread.sleep(time);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
